﻿using System;

namespace Wisdom.Core
{
    /// <summary>
    /// 描述：异常接口
    /// </summary>
    public interface IExceptionHandler
    {
        /// <summary>
        /// 处理一个指定异常
        /// </summary>
        /// <param name="ex">被处理的异常.</param>
        /// <returns>True 异常被成功执行, 否则, false.</returns>
        bool HandleException(Exception ex);
    }
}
